home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_52.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  126KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | poster | reckoner | sidewalk | sky | windowpane
OCR: Sat, Feb 17 1996TST.W ginners Guide EMENES RSTIOR NSgualF ESE O age BEO .SMAIN LOOP END HERE WITH SHORT BRANCH Section 3 is the main loop. All it does S continually call events until events returns anything but 0 in op *SECTION4 TERMINATE:BSR SHUTWINDOW CLOSE WINDOW MOVEM.L (SP) A5-A6 RESTORE REGS RTS BYEEEEEEEEEE Section terminates the program, when events returns any but zero, by closing the window restoring and a6 of the stack and returning SECTION5 EVENTS DC.W SYSTEMTASK LET THE MAC GET AN EYE IN TST.L TEHND A6) TEXT EDITOR HANDLE BEQ NO EDITOR IF ZERO NO WINDOW OPEN MOVE TEHND A6).-(SP DC TEIDLE NO EDITOR CL TRAP RETURNS ABYTE MOVE #$FFFF,-(SP) RETURN ANY EVENT PEA SE VENTREC(PC), -(SP) EVENT BUFFER ON STACK AS PARAM DC. GETNEXTEVENT MOV /F (SP)+ ,DO THE EVENTIN Do EXT.W EXT.L D0 TST. ...